﻿<controls:ChildWindow x:Class="CARE.Views.ExportModel"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="Auto"
           Title="Export disease model to database">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />            
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Grid Grid.Row="1">
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            
                           
                <TextBlock Grid.Column="0" Grid.Row="0" Text="Type name of your model:" Foreground="Black"/>
                <TextBox Grid.Column="1" Grid.Row="0" Name="name" Text="" Margin="5"></TextBox>
                <TextBlock Grid.Column="0" Grid.Row="1" Text="Type short description of your model:" Foreground="Black"/>
                <TextBox Grid.Column="1" Grid.Row="1" Name="description" Text="" TextWrapping="Wrap" Margin="5"></TextBox>
        </Grid>
        
        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="2" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="2" />
    </Grid>
</controls:ChildWindow>